class UserInfoBean {
  String bankCardNumber;
  String jobTitle;
  String companyName;
  String createdAt;
  String cityDescription;
  String staffName;
  String departId;
  String id;
  String email;
  String departName;
  String staffNo;
  String isFrozen;
  String leaderName;
  String busOld;
  String yearVacation;
  String mobile;
  String avatar;
  String bankInf;
  String dateJoin;
  String companyId;
  String mobilePhone;
  String name;
  String position;
  String workplace;
  String staffId;
  String supervisor;
  String status;

  UserInfoBean(
      {this.bankCardNumber,
      this.jobTitle,
      this.companyName,
      this.createdAt,
      this.cityDescription,
      this.staffName,
      this.departId,
      this.id,
      this.email,
      this.departName,
      this.staffNo,
      this.isFrozen,
      this.leaderName,
      this.busOld,
      this.yearVacation,
      this.mobile,
      this.avatar,
      this.bankInf,
      this.dateJoin,
      this.companyId,
      this.mobilePhone,
      this.name,
      this.position,
      this.workplace,
      this.staffId,
      this.supervisor,
      this.status});

  UserInfoBean.fromJson(Map<String, dynamic> json) {
    this.bankCardNumber = json['bankCardNumber'];
    this.jobTitle = json['jobTitle'];
    this.companyName = json['companyName'];
    this.createdAt = json['created_at'];
    this.cityDescription = json['cityDescription'];
    this.staffName = json['staffName'];
    this.departId = json['departId'];
    this.id = json['id'];
    this.email = json['email'];
    this.departName = json['departName'];
    this.staffNo = json['staffNo'];
    this.isFrozen = json['is_frozen'];
    this.leaderName = json['leader_name'];
    this.busOld = json['busOld'];
    this.yearVacation = json['yearVacation'];
    this.mobile = json['mobile'];
    this.avatar = json['avatar'];
    this.bankInf = json['bankInf'];
    this.dateJoin = json['dateJoin'];
    this.companyId = json['companyId'];
    this.mobilePhone = json['mobilePhone'];
    this.name = json['name'];
    this.position = json['position'];
    this.workplace = json['workplace'];
    this.staffId = json['staffId'];
    this.supervisor = json['supervisor'];
    this.status = json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['bankCardNumber'] = this.bankCardNumber;
    data['jobTitle'] = this.jobTitle;
    data['companyName'] = this.companyName;
    data['created_at'] = this.createdAt;
    data['cityDescription'] = this.cityDescription;
    data['staffName'] = this.staffName;
    data['departId'] = this.departId;
    data['id'] = this.id;
    data['email'] = this.email;
    data['departName'] = this.departName;
    data['staffNo'] = this.staffNo;
    data['is_frozen'] = this.isFrozen;
    data['leader_name'] = this.leaderName;
    data['busOld'] = this.busOld;
    data['yearVacation'] = this.yearVacation;
    data['mobile'] = this.mobile;
    data['avatar'] = this.avatar;
    data['bankInf'] = this.bankInf;
    data['dateJoin'] = this.dateJoin;
    data['companyId'] = this.companyId;
    data['mobilePhone'] = this.mobilePhone;
    data['name'] = this.name;
    data['position'] = this.position;
    data['workplace'] = this.workplace;
    data['staffId'] = this.staffId;
    data['supervisor'] = this.supervisor;
    data['status'] = this.status;
    return data;
  }
}
